package com.tony.demo.mvp.presenter.impl;

import com.puhui.lib.utils.DMLog;
import com.tony.demo.eventbean.EventGetBanner;
import com.tony.demo.mvp.model.HomeModel;
import com.tony.demo.mvp.presenter.interfaces.IHomePresenter;
import com.tony.demo.mvp.views.IHomeView;

import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;

/**
 * Copyright:
 * Created by TangJian on 2019/4/20.
 * Description:
 * Modified:
 */

public class HomePresenter extends BasePresenter<IHomeView> implements IHomePresenter {
    private HomeModel model = new HomeModel();

    @Override
    public void getBannerData() {
    }

    @Override
    public void getNoticeData() {

    }

    @Override
    public void getBidInfo() {

    }

    @Override
    public void getRecommendBidInfo() {

    }

    @Subscribe(threadMode = ThreadMode.POSTING)
    public void onGetBannerData(EventGetBanner banner) {
        DMLog.e(this.getClass().getSimpleName(), "onGetBannerData onGetBannerData");
        if (banner.getInfoList() == null) {
            return;
        }

    }
}
